﻿using BarManager.Core.BusinessRules.Interfaces.Validator;
using BarManager.Core.BusinessRules.Specification;
using BarManager.Core.DomainService;
using BarManager.Core.Entity;

namespace BarManager.Core.BusinessRules.Validator
{
    public class PoolValidator : BaseValidator<Pool>, IPoolValidator
    {
        public PoolValidator(IPoolRepository repository)
        {
            //Rules.Add(ValidatorType.Add, new CargoAddSpecification(repository));
            //Rules.Add(ValidatorType.Delete, new CargoDeleteSpecification(repository));
        }
    }
}
